package com.safewind.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class AddressGroupData {
	private String pkId;

	private String groupName;

	private String userId;

	private Date addTime;

	private Date updateTime;

	private Byte groupOrder;

	private String remark;

	private List<Address> addressList = new ArrayList<Address>();

	public AddressGroupData() {

	}

	public AddressGroupData(AddressGroup ag) {
		this.pkId = ag.getPkId();
		this.groupName = ag.getGroupName();
		this.userId = ag.getUserId();
		this.addTime = ag.getAddTime();
		this.updateTime = ag.getUpdateTime();
		this.groupOrder = ag.getGroupOrder();
		this.remark = ag.getRemark();
	}

	public String getPkId() {
		return pkId;
	}

	public void setPkId(String pkId) {
		this.pkId = pkId;
	}

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public Date getAddTime() {
		return addTime;
	}

	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Byte getGroupOrder() {
		return groupOrder;
	}

	public void setGroupOrder(Byte groupOrder) {
		this.groupOrder = groupOrder;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public List<Address> getAddressList() {
		return addressList;
	}

	public void setAddressList(List<Address> addressList) {
		this.addressList = addressList;
	}
}
